<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/manage/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="<%=basePath%>lib/ligerUI/skins/Aqua/css/ligerui-all.css"
	rel="stylesheet" type="text/css" />
<link href="<%=basePath%>addPageInit.css" rel="stylesheet"
	type="text/css" />
<link rel="stylesheet"
	href="<%=basePath%>lib/kediter/themes/default/default.css" />
<link href="<%=basePath%>lib/ligerUI/skins/Gray/css/all.css"
	rel="stylesheet" type="text/css" />
<script src="<%=basePath%>lib/jquery/jquery-1.3.2.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>lib/ligerUI/js/ligerui.all.js"
	type="text/javascript"></script>
<script src="<%=basePath%>lib/jquery-validation/jquery.validate.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>lib/jquery-validation/jquery.metadata.js"
	type="text/javascript"></script>
<script src="<%=basePath%>lib/jquery-validation/messages_cn.js"
	type="text/javascript"></script>
<script charset="utf-8"
	src="<%=basePath%>lib/kediter/kindeditor-min.js"></script>
<script charset="utf-8" src="<%=basePath%>lib/kediter/lang/zh_CN.js"></script>
<script src="<%=basePath%>addPageInit.js" type="text/javascript"></script>
</head>

<body style="padding:10px; margin-bottom: 10px;">

	<form name="form1" method="post" action="manageAddAgent" id="form1">
		<div></div>
		<table cellpadding="0" cellspacing="0" class="l-table-edit">
			<tr>
				<td align="left" class="l-table-edit-td">用户名:</td>
				<td align="left" class="l-table-edit-td">
				<input name="user.name" type="text" value="${model.user.name}" readonly="readonly"/></td>
				<td align="left"></td>
			</tr>
			<tr>
				<td align="left" class="l-table-edit-td">申请人或公司名:</td>
				<td align="left" class="l-table-edit-td">
				<input name="name" type="text" value="${model.name }" readonly="readonly"></td>
				<td align="left"></td>
			</tr>
			<tr>
				<td align="left" class="l-table-edit-td">身份证照或营业执照:</td>
				<td align="left" class="l-table-edit-td">
				  <div>
				      <img src="${ALIYUNOSSURL }${model.imgUrl}" style="width: 600px;height: 400px;"/>
				  </div>
				</td>
				<td align="left"></td>
			</tr>
			<tr>
				<td align="left" class="l-table-edit-td">电话:</td>
				<td align="left" class="l-table-edit-td">
				<input name="phone" type="text" value="${model.phone}" readonly="readonly"/></td>
				<td align="left"></td>
			</tr>
			<tr>
				<td align="left" class="l-table-edit-td">邮箱:</td>
				<td align="left" class="l-table-edit-td">
				<input name="email" type="text" value="${model.email}" readonly="readonly"/></td>
				<td align="left"></td>
			</tr>
			<tr>
				<td align="left" class="l-table-edit-td">申请时间:</td>
				<td align="left" class="l-table-edit-td">
				<input name="insertTime" type="text" value="${model.insertTime}" readonly="readonly" /></td>
				<td align="left"></td>
			</tr>
		    <tr>
		        <td align="left" class="l-table-edit-td">优势:</td>
                <td align="left" class="l-table-edit-td">
                <textarea name="message" rows="10" cols="10" style="width:100%;text-align:left; height:80px;">${model.message}</textarea>
                </td>
		    </tr>
		</table>
		<div style="width:100%"></div>
		<br /> <input name="id" type="hidden" value="${model.id}" />
		<div style="width:150px; margin:0px auto;">
			<input type="submit" value="提交" id="Button1"
				class="l-button l-button-submit" />
		</div>
	</form>
	<script type="text/javascript">
		console.info($("#id").val());
	</script>
</body>
</html>